//
//  HTTPPromise+Login.h
//  HTHappySale
//
//  Created by 创维海通 on 2017/9/15.
//  Copyright © 2017年 zxyywy. All rights reserved.
//

#import "HTTPPromise.h"
#import "HTTPPromise+AFNetworking.h"

@interface HTTPPromise (Login)

/**
 *  2.1	微信登陆上报
 *
 *  @param params  <#params description#>
 *  @param success <#success description#>
 *  @param failure <#failure description#>
 *
 *  @return 2.1	微信登陆上报
 */
+ (HTTPPromise *)requestWeiXinCreateParams:(NSData *)params
                                        Success:(HTTPPromiseFulfiller)success
                                        failure:(HTTPPromiseRejecter)failure;

/**
  *  3.2	发送短信验证码
  *
  *  @param params  <#params description#>
  *  @param success <#success description#>
  *  @param failure <#failure description#>
  *
  *  @return 3.2	发送短信验证码
  */
+ (HTTPPromise *)requesSendCodeParams:(NSData *)params
                              Success:(HTTPPromiseFulfiller)success
                              failure:(HTTPPromiseRejecter)failure;

/**
 *  3.3	绑定手机
 *
 *  @param params  <#params description#>
 *  @param success <#success description#>
 *  @param failure <#failure description#>
 *
 *  @return 3.3	绑定手机
 */
+ (HTTPPromise *)requesBindMobileParams:(NSData *)params
                              Success:(HTTPPromiseFulfiller)success
                              failure:(HTTPPromiseRejecter)failure;

/**
 *  3.4	完善个人信息

 *
 *  @param params  <#params description#>
 *  @param success <#success description#>
 *  @param failure <#failure description#>
 *
 *  @return 3.4	完善个人信息
 */
+ (HTTPPromise *)requesSaveMyInfoParams:(NSData *)params
                                Success:(HTTPPromiseFulfiller)success
                                failure:(HTTPPromiseRejecter)failure;

/**
 *  3.17 我的个人信息

 *
 *  @param params  <#params description#>
 *  @param success <#success description#>
 *  @param failure <#failure description#>
 *
 *  @return 3.17 我的个人信息
 */
+ (HTTPPromise *)requestUserInfoParams:(NSData *)params
                                   Success:(HTTPPromiseFulfiller)success
                                   failure:(HTTPPromiseRejecter)failure;

/**
 *  3.21 修改区域
 *
 *  @param params  <#params description#>
 *  @param success <#success description#>
 *  @param failure <#failure description#>
 *
 *  @return 3.21 修改区域
 */
+ (HTTPPromise *)requestUserRegionParams:(NSData *)params
                                Success:(HTTPPromiseFulfiller)success
                                failure:(HTTPPromiseRejecter)failure;

/**
 *  3.22 区域列表
 *
 *  @param params  <#params description#>
 *  @param success <#success description#>
 *  @param failure <#failure description#>
 *
 *  @return 3.22 区域列表
 */
+ (HTTPPromise *)requestRegionAllParams:(NSData *)params
                               Success:(HTTPPromiseFulfiller)success
                               failure:(HTTPPromiseRejecter)failure;

@end
